package org.wyl.xiachufang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 菜谱
 *
 * @author 吴宇亮 on 2022/7/25 16:42
 */
@TableName("menu")
public class MenuEntity {

    @TableId(value = "menu_name", type = IdType.INPUT)
    private String menuName;
    @TableField(value = "url")
    private String url;
    @TableField(value = "description")
    private String description;

    public String getMenuName() {
        return menuName;
    }

    public MenuEntity setMenuName(String menuName) {
        this.menuName = menuName;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public MenuEntity setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public MenuEntity setDescription(String description) {
        this.description = description;
        return this;
    }
}
